
#ifndef PrimitiveType_h
#define PrimitiveType_h

namespace Riccsson
{
	namespace Xna
	{
		namespace Framework
		{
			namespace Graphics
			{
				/// <summary>
				/// Defines how vertex data is ordered.
				/// </summary>
				enum class PrimitiveType
				{
					/// <summary>
					/// Renders the specified vertices as a sequence of isolated triangles. Each group of three vertices defines a separate triangle. Back-face culling is affected by the current winding-order render state.
					/// </summary>
					TriangleList,

					/// <summary>
					/// Renders the vertices as a triangle strip. The back-face culling flag is flipped automatically on even-numbered triangles.
					/// </summary>
					TriangleStrip,

					/// <summary>
					/// Renders the vertices as a list of isolated straight line segments; the count may be any positive integer.
					/// </summary>
					LineList,

					/// <summary>
					/// Renders the vertices as a single polyline; the count may be any positive integer.
					/// </summary>
					LineStrip,
				};
			}
		}
	}
}

#endif